Shortcut: add missing nullability annotations
authorBilal Elmoussaoui <bil.elmoussaoui@gmail.com>
Tue, 24 Nov 2020 17:32:48 +0000 (18:32 +0100)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 2 Dec 2020 15:29:16 +0000 (10:29 -0500)
gtk/gtkshortcut.c

index caacf810a601fbeedf97cd32a5a5f0fcc59caca6..c0cd24d2ae960d6b0613b0c1e50600784d764bc3 100644 (file)
@@ -287,7 +287,7 @@ gtk_shortcut_new_with_arguments (GtkShortcutTrigger *trigger,
  *
  * Gets the action that is activated by this shortcut.
  *
- * Returns: (transfer none): the action
+ * Returns: (transfer none) (nullable): the action
  **/
 GtkShortcutAction *
 gtk_shortcut_get_action (GtkShortcut *self)
@@ -327,7 +327,7 @@ gtk_shortcut_set_action (GtkShortcut *self,
  *
  * Gets the trigger used to trigger @self.
  *
- * Returns: (transfer none): the trigger used
+ * Returns: (transfer none) (nullable): the trigger used
  **/
 GtkShortcutTrigger *
 gtk_shortcut_get_trigger (GtkShortcut *self)